package ig.util;
import java.awt.Component;
import java.awt.Color;
import javax.swing.table.TableCellRenderer;
import javax.swing.JTable;

/**
 */
public class RenderTablaEscenarios extends javax.swing.JLabel implements TableCellRenderer{
    
    public RenderTablaEscenarios(){
        setOpaque(true);
        setBackground(Color.WHITE);
        setFont(new java.awt.Font("Dialog", 0, 12));        
        setForeground(Color.BLUE);
    }
    
    public Component getTableCellRendererComponent(JTable table, Object value,boolean isSelected, boolean hasFocus, int row, int column){
        table.setGridColor(Color.WHITE);
        setText((String)value);
        System.out.println("sis");
        return this;
    }
}